package com.wangjiacai.hqlQuery.role.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.Proxy;

import javax.persistence.Entity;
import javax.persistence.Table;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-05-07 18:10:22
 */
@Data
@Entity
@Table(name ="tbl_user_role")
@DynamicUpdate
@Proxy(lazy = false)
public class UserRole extends SupperEntity{

    /*角色id*/
    private String roleId;

    /*用户id*/
    private String userId;
}
